ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / MultiSelect<T> Class / HeaderFormatter Property






In This Topic
    HeaderFormatter Property (MultiSelect<T>)
    In This Topic
    Gets or sets a function that gets the HTML in the control header.
    Syntax
    'Declaration
     
    
    <JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)>
    Public Property HeaderFormatter As System.String
    'Usage
     
    
    Dim instance As MultiSelect(Of T)
    Dim value As System.String
     
    instance.HeaderFormatter = value
     
    value = instance.HeaderFormatter
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public System.string HeaderFormatter {get; set;}
    public read-write property HeaderFormatter: System.String; 
    JsonConverterAttribute(C1.JsonNet.Converters.FunctionConverter)
    public function get,set HeaderFormatter : System.String
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public: __property System.string* get_HeaderFormatter();
    public: __property void set_HeaderFormatter( 
       System.string* value
    );
    [JsonConverter(C1.JsonNet.Converters.FunctionConverter)]
    public:
    property System.String^ HeaderFormatter {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks
    By default, the control header content is determined based on the Placeholder, MaxHeaderItems, and on the current selection. You may customize the header content by specifying a function that returns a custom string based on whatever criteria your application requires.
    See Also